<template>
  <div>
    <div id="pay-result">
      <Nav :url="url" />
      <div class="main">
        <div>
          <img src="" alt="" />
        </div>

        <p>支付取消</p>
        <p>完成支付后可以尽早咨询律师哦</p>
        <p><button @click="repay()">重新支付</button></p>
        <p><button @click="goback()">返回</button></p>
      </div>
    </div>
  </div>
</template>

<script>
import Nav from "./Nav.vue";
export default {
  components: {
    Nav,
  },
  data() {
    return { url: "/resultwait" };
  },
  methods: {
    repay() {
      this.$router.push("./purchase");
    },
    goback() {
      this.$router.push("./home/question");
    },
  },
};
</script>

<style lang="scss" scoped>
.main {
  div {
    margin-top: 1.71rem;
    text-align: center;
    img {
      width: 1.32rem;
      height: 1.32rem;
    }
  }
  p {
    margin-top: 0.39rem;
    font-size: 0.18rem;
    text-align: center;
    color: #9a9a9a;
    &:nth-of-type(2) {
      font-size: 0.14rem;
    }
    button {
      width: 2.73rem;
      height: 0.43rem;
      border-radius: 0.43rem;
      text-align: center;
      border: none;
    }
    &:nth-of-type(3) button {
      color: white;
      background-color: #9a9a9a;
    }
    &:nth-of-type(4) button {
      color: white;
      background-color: #efefef;
    }
  }
}
</style>

